<?php if (count(($this->qs))) { ?>
    <h1 style="margin-left: 15px;">Нас находят по таким запросам</h1>
    <div class="r-box" style="padding: 15px;">
    <?php
    $i = 0;
    foreach ($this->qs as $qs) {

        $color = '#45412D';
        $sz = 18;
        if (($i % 2) != 0) {
            $color = '#190900';
            $sz = 13;
        }
        echo  "<span style=\" font-size: " . $sz . "px; color: " . $color . ";\"> " . $qs . "</span>";
        $i++;
    } ?>
</div>
<?php } ?>